import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true,
    keepAlive: true,
};
const pre = '/business/robot/';
export default {
    path: '/business/robot',
    name: 'robot',
    redirect: {
        name: 'chatRecord'
    },
    meta,
    component: BasicLayout,
    children: [{
                   path: 'chatRecord',
                   name: 'chatRecord',
                   meta: {
                       ...meta,
                       title: '聊天记录'
                   },
                   component: () => {
 return import ('@/pages/robot/chatRecord'); 
}
               },
               {
                path: 'callRecords',
                name: 'callRecords',
                meta: {
                    ...meta,
                    title: '通话记录'
                },
                component: () => {
 return import ('@/pages/robot/callRecords'); 
}
            },
            {
                path: 'wechatFriend',
                name: 'wechatFriend',
                meta: {
                    ...meta,
                    title: '微信好友'
                },
                component: () => {
 return import ('@/pages/robot/wechatFriend'); 
}
            },
            // 200-8-22号灯塔2.07版本废弃
               {
                   path: 'call',
                   name: 'call',
                   meta: {
                       ...meta,
                       title: '通话记录'
                   },
                   component: () => {
 return import ('@/pages/robot/call'); 
}
               },
               {
                   path: 'message',
                   name: 'message',
                   meta: {
                       ...meta,
                       title: '短信信息'
                   },
                   component: () => {
 return import ('@/pages/robot/message'); 
}
               }
    ]
};
